<%@page import="com.AAL.Model.TypeOfAuto"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<h3
	style="background-color: #8AC0E9; font-size: 17px; width: 95%; padding: 10px; color: white;">Quản
lý danh mục lốp xe</h3>

<p style="clear: both;"></p>

<div style="margin: 10px;"><s:form id="form" method="post"
	action="#" theme="simple" cssClass="yform">
	<fieldset style="width: 95%;"><legend style="">Cập nhật chi tiết lốp xe</legend>
	<h2 align="center">Mã lốp <s:property value="wheelDetail.wheelDetailID"></s:property></h2>
	<s:hidden name="wheelDetail.wheelDetailID" value="%{wheelDetail.wheelDetailID}"></s:hidden>
	<div class="type-text">
	<ul class="form">		
			<li class="left">Nhóm Lốp:</li>
		<li class="right"><s:select list="lstTypesOfWheels"
			listKey="typeOfWheelID" listValue="productName"
			cssClass="smallInput wide" name="wheelDetail.typesOfWheel.typeOfWheelID"/></li>
		<li class="clr"></li>		
		<li class="left">Chiều rộng lốp:</li>
		<li class="right"><s:textfield cssClass="smallInput wide" name="wheelDetail.width" value="%{wheelDetail.width}"/></li>
		<li class="clr"></li>
		<li class="left">Tỉ lệ:</li>
		<li class="right"><s:textfield cssClass="smallInput wide" name="wheelDetail.height" value="%{wheelDetail.height}"/></li>
		<li class="clr"></li>
		<li class="left">Cấu trúc lốp:</li>
		<li class="right"><s:textfield cssClass="smallInput wide" name="wheelDetail.tireStructure" value="%{wheelDetail.tireStructure}"/></li>
		<li class="clr"></li>
		<li class="left">Đường kính lazang:</li>
		<li class="right"><s:textfield cssClass="smallInput wide" name="wheelDetail.diameter" value="%{wheelDetail.diameter}"/></li>
		<li class="clr"></li>
		<li class="left">Chỉ số tải trọng:</li>
		<li class="right"><s:textfield cssClass="smallInput wide" name="wheelDetail.loads" value="%{wheelDetail.loads}"/></li>
		<li class="clr"></li>
		<li class="left">Vận tốc:</li>
		<li class="right"><s:select list="lstSpeed"
			listKey="SpeedID" listValue="velocity"
			cssClass="smallInput wide" name="wheelDetail.speed.speedID" /></li>
		<li class="clr"></li>		
		<li class="left">Đặc tả:</li>
		<li class="right"><s:textfield cssClass="smallInput wide" name="wheelDetail.specification" value="%{wheelDetail.specification}"/></li>
		<li class="clr"></li>
		<li class="left">&nbsp;</li>
		<li class="right"><s:url id="productEdit" value="/productEdit" />
		<sj:submit title="Lưu" id="lnkproductEdit" href="%{productEdit}"
			button="true" value="Lưu" targets="container"></sj:submit> <s:url
			id="Manager_viewListProduct" value="/Manager_viewListProduct" /> <sj:a
			title="Hủy" id="lnkManager_viewListProduct"
			href="%{Manager_viewListProduct}" targets="container" button="true">
		      Hủy
		    </sj:a></li>
		<li class="clr"></li>
	</ul>

	</div>

	</fieldset>
</s:form></div>